package com.xteam.ecsystem.entities;


import java.io.Serializable;

/**
 * 订单与获得券关联表
 * @author tangkf
 * @date 2013-12-04
 */
public class BaseOrderGettingcoupon implements Serializable {
	private static final long serialVersionUID = 1L;


	/**
	 * 类名称
	 */
	public static final String REF="BaseOrderGettingcoupon";

	/**
	 * 关联ID 的属性名
	 */
	public static final String PROP_BOGID="bogId";

	/**
	 * 订单ID 的属性名
	 */
	public static final String PROP_BOGORDER="bogOrder";

	/**
	 * 购物券ID 的属性名
	 */
	public static final String PROP_BOGCOUPON="bogCoupon";

	/**
	 * 购物券金额 的属性名
	 */
	public static final String PROP_BOGPRICE="bogPrice";

	/**
	 * 购物券数量 的属性名
	 */
	public static final String PROP_BOGNUMBER="bogNumber";

	/**
	 * 关联ID
	 */
	private java.lang.String bogId;

	/**
	 * 订单ID
	 */
	private java.lang.String bogOrder;

	/**
	 * 购物券ID
	 */
	private java.lang.String bogCoupon;

	/**
	 * 购物券金额
	 */
	private java.lang.Double bogPrice;

	/**
	 * 购物券数量
	 */
	private java.lang.Integer bogNumber;

	/**
	 * 获取 关联ID 的属性值
	 * @return bogId : 关联ID
	 * @author tangkf
	 */
	public java.lang.String getBogId(){
		return this.bogId;
	}

	/**
	 * 设置 关联ID 的属性值
	 * @param bogId : 关联ID
	 * @author tangkf
	 */
	public void setBogId(java.lang.String bogId){
		this.bogId	= bogId;
	}

	/**
	 * 获取 订单ID 的属性值
	 * @return bogOrder : 订单ID
	 * @author tangkf
	 */
	public java.lang.String getBogOrder(){
		return this.bogOrder;
	}

	/**
	 * 设置 订单ID 的属性值
	 * @param bogOrder : 订单ID
	 * @author tangkf
	 */
	public void setBogOrder(java.lang.String bogOrder){
		this.bogOrder	= bogOrder;
	}

	/**
	 * 获取 购物券ID 的属性值
	 * @return bogCoupon : 购物券ID
	 * @author tangkf
	 */
	public java.lang.String getBogCoupon(){
		return this.bogCoupon;
	}

	/**
	 * 设置 购物券ID 的属性值
	 * @param bogCoupon : 购物券ID
	 * @author tangkf
	 */
	public void setBogCoupon(java.lang.String bogCoupon){
		this.bogCoupon	= bogCoupon;
	}

	/**
	 * 获取 购物券金额 的属性值
	 * @return bogPrice : 购物券金额
	 * @author tangkf
	 */
	public java.lang.Double getBogPrice(){
		return this.bogPrice;
	}

	/**
	 * 设置 购物券金额 的属性值
	 * @param bogPrice : 购物券金额
	 * @author tangkf
	 */
	public void setBogPrice(java.lang.Double bogPrice){
		this.bogPrice	= bogPrice;
	}

	/**
	 * 获取 购物券数量 的属性值
	 * @return bogNumber : 购物券数量
	 * @author tangkf
	 */
	public java.lang.Integer getBogNumber(){
		return this.bogNumber;
	}

	/**
	 * 设置 购物券数量 的属性值
	 * @param bogNumber : 购物券数量
	 * @author tangkf
	 */
	public void setBogNumber(java.lang.Integer bogNumber){
		this.bogNumber	= bogNumber;
	}

	/**
	 * 转换为字符串
	 * @author tangkf
	 */
	public String toString(){
		return "{" + "bogId(关联ID)=" + bogId + "," +"bogOrder(订单ID)=" + bogOrder + "," +"bogCoupon(购物券ID)=" + bogCoupon + "," +"bogPrice(购物券金额)=" + bogPrice + "," +"bogNumber(购物券数量)=" + bogNumber + "}";
	}
	/**
	 * 转换为 JSON 字符串
	 * @author tangkf
	 */
	public String toJson(){
		return "{" + "bogId:'" + bogId + "'," +"bogOrder:'" + bogOrder + "'," +"bogCoupon:'" + bogCoupon + "'," +"bogPrice:'" + bogPrice + "'," +"bogNumber:'" + bogNumber + "'}";
	}
}